package com.sky.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

//回复实体类
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Reply {

    private Long id;

    //评论id
    private Long commentId;

    //回复内容
    private String content;

    //回复人昵称
    private String nickname;

    //回复人邮箱
    private String email;

    //回复的是哪个评论的id。可以为空，代表是对文章的评论
    private Integer replyToId;

    //被回复的人昵称
    private String replyToNickname;

    //创建时间
    private LocalDateTime createTime;

    //更新时间
    private LocalDateTime updateTime;
}
